import request from '@/utils/request'

export const setmealApi = {
  // 获取所有体检套餐
  getAllSetMeal() {
    return request({
      url: '/api/setmeal/getAllSetMeal',
      method: 'GET'
    })
  },

  // 获取套餐详情
  getSetmealDetail(id) {
    return request({
      url: `/api/setmeal/detail/${id}`,
      method: 'GET'
    })
  },

  // 获取套餐的检查组和检查项
  getCheckGroupItemBySetmealId(setmealId) {
    return request({
      url: `/api/setmeal/getCheckGroupItemBySetmealId`,
      method: 'GET',
      params: {
        setmealId
      }
    })
  }
} 